package com.comptel.actions.service;

import java.util.Arrays;

import com.comptel.actions.Action;
import com.comptel.actions.example.ActionProviderTemplate;
import com.comptel.actions.example.IntegerCountAction;
import com.comptel.actions.example.IntegerIsZeroAction;
import com.comptel.actions.example.IntegerSignAction;
import com.comptel.actions.example.IntegerTotalAction;

public class IntegerActionProviderService extends ActionProviderTemplate {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public IntegerActionProviderService() {		
		allActions.put(Integer.class, Arrays.asList(new Action[]{new IntegerSignAction(), new IntegerIsZeroAction()}));
		allActions.put(Integer[].class, Arrays.asList(new Action[]{new IntegerTotalAction(), new IntegerCountAction()}));
	}
	

}
